﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="vensoftDataSet1" targetNamespace="http://tempuri.org/vensoftDataSet1.xsd" xmlns:mstns="http://tempuri.org/vensoftDataSet1.xsd" xmlns="http://tempuri.org/vensoftDataSet1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="vensoftConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="vensoftConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.vensoft.Win32.Properties.Settings.GlobalReference.Default.vensoftConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="GetAllFromClienteTableAdapter" GeneratorDataComponentClassName="GetAllFromClienteTableAdapter" Name="GetAllFromCliente" UserDataComponentName="GetAllFromClienteTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="vensoftConnectionString (Settings)" DbObjectName="vensoft.dbo.GetAllFromCliente" DbObjectType="StoredProcedure" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="StoredProcedure" ModifiedByUser="false">
                    <CommandText>dbo.GetAllFromCliente</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="ReturnValue" ParameterName="@RETURN_VALUE" Precision="10" ProviderType="Int" Scale="0" Size="4" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="codigo_Cliente" DataSetColumn="codigo_Cliente" />
              <Mapping SourceColumn="razon_social" DataSetColumn="razon_social" />
              <Mapping SourceColumn="telefono" DataSetColumn="telefono" />
              <Mapping SourceColumn="direccion" DataSetColumn="direccion" />
              <Mapping SourceColumn="AP_Materno" DataSetColumn="AP_Materno" />
              <Mapping SourceColumn="AP_Paterno" DataSetColumn="AP_Paterno" />
              <Mapping SourceColumn="Tipo" DataSetColumn="Tipo" />
              <Mapping SourceColumn="DNI_RUC" DataSetColumn="DNI_RUC" />
              <Mapping SourceColumn="Estado" DataSetColumn="Estado" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="vensoftDataSet1" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="vensoftDataSet1" msprop:Generator_UserDSName="vensoftDataSet1">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="GetAllFromCliente" msprop:Generator_TableClassName="GetAllFromClienteDataTable" msprop:Generator_TableVarName="tableGetAllFromCliente" msprop:Generator_TablePropName="GetAllFromCliente" msprop:Generator_RowDeletingName="GetAllFromClienteRowDeleting" msprop:Generator_UserTableName="GetAllFromCliente" msprop:Generator_RowChangingName="GetAllFromClienteRowChanging" msprop:Generator_RowEvHandlerName="GetAllFromClienteRowChangeEventHandler" msprop:Generator_RowDeletedName="GetAllFromClienteRowDeleted" msprop:Generator_RowEvArgName="GetAllFromClienteRowChangeEvent" msprop:Generator_RowChangedName="GetAllFromClienteRowChanged" msprop:Generator_RowClassName="GetAllFromClienteRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="codigo_Cliente" msdata:ReadOnly="true" msdata:AutoIncrement="true" msprop:Generator_ColumnVarNameInTable="columncodigo_Cliente" msprop:Generator_ColumnPropNameInRow="codigo_Cliente" msprop:Generator_ColumnPropNameInTable="codigo_ClienteColumn" msprop:Generator_UserColumnName="codigo_Cliente" type="xs:int" />
              <xs:element name="razon_social" msprop:Generator_ColumnVarNameInTable="columnrazon_social" msprop:Generator_ColumnPropNameInRow="razon_social" msprop:Generator_ColumnPropNameInTable="razon_socialColumn" msprop:Generator_UserColumnName="razon_social">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="30" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="telefono" msprop:Generator_ColumnVarNameInTable="columntelefono" msprop:Generator_ColumnPropNameInRow="telefono" msprop:Generator_ColumnPropNameInTable="telefonoColumn" msprop:Generator_UserColumnName="telefono" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="9" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="direccion" msprop:Generator_ColumnVarNameInTable="columndireccion" msprop:Generator_ColumnPropNameInRow="direccion" msprop:Generator_ColumnPropNameInTable="direccionColumn" msprop:Generator_UserColumnName="direccion">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AP_Materno" msprop:Generator_ColumnVarNameInTable="columnAP_Materno" msprop:Generator_ColumnPropNameInRow="AP_Materno" msprop:Generator_ColumnPropNameInTable="AP_MaternoColumn" msprop:Generator_UserColumnName="AP_Materno">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="12" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AP_Paterno" msprop:Generator_ColumnVarNameInTable="columnAP_Paterno" msprop:Generator_ColumnPropNameInRow="AP_Paterno" msprop:Generator_ColumnPropNameInTable="AP_PaternoColumn" msprop:Generator_UserColumnName="AP_Paterno">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="12" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Tipo" msprop:Generator_ColumnVarNameInTable="columnTipo" msprop:Generator_ColumnPropNameInRow="Tipo" msprop:Generator_ColumnPropNameInTable="TipoColumn" msprop:Generator_UserColumnName="Tipo">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="18" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="DNI_RUC" msprop:Generator_ColumnVarNameInTable="columnDNI_RUC" msprop:Generator_ColumnPropNameInRow="DNI_RUC" msprop:Generator_ColumnPropNameInTable="DNI_RUCColumn" msprop:Generator_UserColumnName="DNI_RUC">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="11" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Estado" msprop:Generator_ColumnVarNameInTable="columnEstado" msprop:Generator_ColumnPropNameInRow="Estado" msprop:Generator_ColumnPropNameInTable="EstadoColumn" msprop:Generator_UserColumnName="Estado">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:GetAllFromCliente" />
      <xs:field xpath="mstns:codigo_Cliente" />
    </xs:unique>
  </xs:element>
</xs:schema>